package com.homedo.odin.solution.model.base;

import com.alibaba.fastjson.JSON;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import java.io.Serializable;
import lombok.Data;

/**
 * @author: zhaoxudong
 * @date: 2018/3/6 17:38
 * @Description:
 */
@Data
@JsonIgnoreProperties(ignoreUnknown = true)
public class BaseBean implements Serializable {

    public String toJson() {
        return JSON.toJSONString(this);
    }
}
